package models;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name="Question")
@XmlType(propOrder={"text", "answerList"})
public class Question {

	private List<Answer> answerList = new ArrayList<Answer>();
	private String text;
	
	
	
	
	public Question(){
		
	}



	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}



	public List<Answer> getAnswerList() {
		return answerList;
	}



	public void setAnswerList(List<Answer> answerList) {
		this.answerList = answerList;
	}
	
}
